package com.ssy.lingxi.platform.manage.service.content;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.platform.manage.entity.content.MemberLabel;
import com.ssy.lingxi.platform.manage.model.request.common.CommonIdRequest;
import com.ssy.lingxi.platform.manage.model.request.common.CommonStatusRequest;
import com.ssy.lingxi.platform.manage.model.request.content.MemberLabelPageRequest;
import com.ssy.lingxi.platform.manage.model.request.content.MemberLabelRequest;

import java.util.List;

/**
 * 内容能力-标签管理
 * @author wyx
 * @version 2.0.0
 * @date 2021-09-28
 */
public interface IMemberLabelService {

    Wrapper<PageData<MemberLabel>> page(MemberLabelPageRequest request, UserLoginCacheDTO user);

    Wrapper<MemberLabel> get(CommonIdRequest request);

    Wrapper<Void> add(MemberLabelRequest request, UserLoginCacheDTO user);

    Wrapper<Void> update(MemberLabelRequest request, UserLoginCacheDTO user);

    Wrapper<Void> updateStatus(CommonStatusRequest request, UserLoginCacheDTO user);

    Wrapper<Void> delete(CommonIdRequest request, UserLoginCacheDTO user);

    Wrapper<List<MemberLabel>> all(UserLoginCacheDTO user);

    Wrapper<List<MemberLabel>> hot(UserLoginCacheDTO user);
}
